import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Header from "@/components/Header/index.vue"
import Footer from '@/components/Footer/index.vue'
import http from './utils/request'
require('./mock')
Vue.config.productionTip = false
Vue.component('Header',Header)
Vue.component('Footer',Footer)
Vue.use(ElementUI)
Vue.prototype.$http = http
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')